﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DepartmentWork.Migrator.Data;

namespace DepartmentWork.Model
{
    public class ProjectDevelopViewModel
    {
        /// <summary>
        /// 未完成的所有项目
        /// </summary>
        public DataSet ExecuteProjectList { get; set; }

        /// <summary>
        /// 已完成的所有项目
        /// </summary>
        public DataSet FinishProjectList { get; set; }
    }

    public class ProjectDevelopInfoViewModel
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid ProjectDevelopId { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectDevelopNo { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectDevelopName { get; set; }

        /// <summary>
        /// 项目负责人
        /// </summary>
        public string ProjectDevelopLeaders { get; set; }

        /// <summary>
        /// 项目人员
        /// </summary>
        public string ProjectDevelopEmpolees { get; set; }

        /// <summary>
        /// 项目创建时间
        /// </summary>
        public DateTime ProjectDevelopCreateTime { get; set; }

        /// <summary>
        /// 项目截至日期
        /// </summary>
        public DateTime ProjectDevelopDeadTime { get; set; }
        
        /// <summary>
        /// 项目业务部门
        /// </summary>
        public string ProjectDevelopBusinessDepartment { get; set; }

        /// <summary>
        /// 项目业务类型
        /// </summary>
        public string ProjectDevelopBusinessType { get; set; }

        /// <summary>
        /// 项目业务联系人
        /// </summary>
        public string ProjectDevelopBusinessContact { get; set; }

        /// <summary>
        /// 项目业务联系人电话
        /// </summary>
        public string ProjectDevelopBusinessTel { get; set; }

        /// <summary>
        /// 项目所属团队空间
        /// </summary>
        public string ProjectDevelopInTeamsapceName { get; set; }

        /// <summary>
        /// 项目描述
        /// </summary>
        public string ProjectDevelopDescription { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        public string ProjectDevelopStatus { get; set; }

        /// <summary>
        /// 任务数量
        /// </summary>
        public int TaskCount { get; set; }

        /// <summary>
        /// 任务书数量
        /// </summary>
        public int TaskBookCount { get; set; }

        /// <summary>
        /// BUG数量
        /// </summary>
        public int BugCount { get; set; }

        /// <summary>
        /// 文档数量
        /// </summary>
        public int DocumentCount { get; set; }

    }

}
